﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Data;
using System.Web.UI.WebControls;

namespace Billder
{
    public partial class Badge : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            Response.Clear();
            DataTable dt = Catalog.runSearch("PartMaster", "2", "FKStatus");
            if (dt.Rows.Count != 0) {
                Response.Write("<table cellpadding=\"0\" cellspacing=\"0\"><tr><td class=\"badgeLeft\">&nbsp;</td><td><a href=\"javascript: showPartTickets();\">" + dt.Rows.Count.ToString() + "</a></td><td class=\"badgeRight\">&nbsp;</td></tr></table>");
            }
            Response.End();
        }
    }
}
